﻿<%@ page contentType="text/html; charset=utf-8"%>
<table class="table table-border table-bordered table-hover table-bg">
	<thead>
	<tr class="text-c">
		<th width="180">用户账号</th>
		<th width="200">用户名称</th>
		<th width="180">联系电话</th>
		<th>邮箱</th>
		<th width="80">状态</th>
		<th width="50"></th>
	</tr>
	</thead>
	<c:forEach items="${page.data }" var="user">
		<tbody>
			<tr class="text-l">
				<td field="username"><a class="badge badge-default radius Hui-iconfont mr-5">&#xe600;</a>${user.username }</td>
				<td field="realname">${user.realname }</td>
				<td field="phone">${user.phone}</td>
				<td field="email">${user.email}</td>
				<td>${user.chineseStatus}已激活</td>
				<td class="f-14">
					<div class="dropDown right dropDown_click">
						<a class="btn btn-primary size-MINI" href="#">操作</a>
						<div class="dropDown-menu box-shadow">
							<ul>
								<li><a href="#" name="show_detail_btn" data-id="${user.username}">详细信息</a></li>
								<li><a href="#" name="cancel_activate_btn" data-id="${user.id}">取消激活</a></li>
								<li><a href="#" name="activate_btn" data-id="${user.id}">激活</a></li>
								<li><a href="#" name="delete_btn" data-id="${user.id}">删除</a></li>
								<li><a href="#" name="login_constraint_btn" data-id="${user.id}">登陆约束</a></li>
								<li><a href="#" name="user_auth_btn" data-id="${user.id}">分配权限</a></li>
							</ul>
						</div>
					</div>
				</td>
			</tr>
		</tbody>
</table>